# get ip list --
import socket as SOCK
def getIPList():
    """\
ipList = getHostIPList()
    Get list of ip.

    Returns:
        ipList      ( type = list of string)"""
    hostname = SOCK.gethostname()
    iplist = SOCK.gethostbyname_ex(hostname)[2]
    return iplist